#ifndef __BSP_TUBE_H
#define __BSP_TUBE_H

#include "public.h"

sbit DIG1 = P3^4;
sbit DIG2 = P5^0;
sbit DIG3 = P5^2;
sbit DIG4 = P0^4;

sbit wei_A  = P2^6;
sbit wei_B  = P4^5;
sbit wei_C  = P0^2;
sbit wei_D  = P0^0;
sbit wei_E  = P4^6;
sbit wei_F  = P2^7;
sbit wei_G  = P0^3;
sbit wei_DP = P0^1;

void TUBE_GPIO_Config(void);
void Tube_Display(u8 Hour,u8 Minute,u8 x,u8 y);
void Tube_Display_FromISR(u8 Hour,u8 Minute);

#endif